writing equations proportional graph